package com.anonymous.model;

import java.io.Serializable;
import java.security.PublicKey;
import java.security.cert.X509Certificate;

public class User implements Serializable {

	private static final long serialVersionUID = 1L;

	public User(X509Certificate certificate, String userName, String ipAddress) {
		super();
		this.certificate = certificate;
		this.userName = userName;
		this.ipAddress = ipAddress;
	}

	private X509Certificate certificate;
	private String userName;
	private String ipAddress;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	public X509Certificate getCertificate() {
		return certificate;
	}

	public void setCertificate(X509Certificate certificate) {
		this.certificate = certificate;
	}

}
